package com.monster.starter.exception.service;

import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;


/**
 * 异常处理
 * @author kuang
 */
public interface MonsterExceptionService {
    /**
     * 异常处理的service
     * @param request 请求对象
     * @param response 响应对象
     * @param e 异常对象
     */
    void exceptionHandler(HttpServletRequest request, HttpServletResponse response, Throwable e);
}
